package com.yao.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * User: 姚宏武
 * Date: 2017/11/30
 * Time: 15:32
 * Email：401369870@qq.com
 * Description: 卖家信息表
 */
@Data
@Entity
@Table(name = "seller_info")
@DynamicUpdate
public class SellerInfo {

    /**
     * 用户id
     */
    @Id
    private String id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 用户微信openid
     */
    private String openid;
}
